<?php

class DefaultController extends ProjectController
{

	public $layout = "//layouts/board";
	public $projects = array();
	public function init(){
		parent::init();
		
	}
	
	
	
	
	
	public function find_all_files($dir) 
	{ 
		$root = scandir($dir); 
		
		$result = array();
		foreach($root as $value) 
		{ 
			if($value === '.' || $value === '..') {continue;} 
			if(is_file("$dir/$value")) {$result[]="$dir/$value";continue;} 
			foreach($this->find_all_files("$dir/$value") as $value) 
			{ 
				$result[]=$value; 
			} 
		} 
		return $result; 
	}
	public function actionIndex()
	{
		
		
		
		$this->render('index',array(
			
		));
	}
}